package com.tuozixuan.camel.stringtemplate;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class StringTemplateDemoRoute extends RouteBuilder {

	@Override
	public void configure() {
	    
//	    from("timer:firedOnceTimer?repeatCount=1")
//	    	.setHeader("firstName", constant("Tuo"))
//	    	.setHeader("lastName", constant("zixuan"))
//	    	.setBody().constant("Hi boy")
//	    	.to("string-template:com/tuozixuan/camel/stringtemplate/MyResponse.tm")
//	    	.to("stream:out");

	}

}
